
#include "StorageVolumes.h"


configuration FlashRWAppC { }
implementation {
  components FlashRWC, new BlockStorageC(VOLUME_BLOCKTEST),
    MainC, LedsC;
 
  MainC.Boot <- FlashRWC;
  
  FlashRWC.BlockRead -> BlockStorageC.BlockRead;
  FlashRWC.BlockWrite -> BlockStorageC.BlockWrite;
  FlashRWC.Leds -> LedsC;
  
  components new TimerMilliC() as TimerMilliCWrite;
  components new TimerMilliC() as TimerMilliCRead;
  FlashRWC.MilliTimerWrite -> TimerMilliCWrite;
  FlashRWC.MilliTimerRead -> TimerMilliCRead;
}
